English as a Formal Specification Language
نویسنده
چکیده
PENG is a computer-processable controlled natural language designed for writing unambiguous and precise specifications. PENG covers a strict subset of standard English and is precisely defined by a controlled grammar and a controlled lexicon. In contrast to other controlled languages, the author does not need to know the grammatical restrictions explicitly. ECOLE, a look-ahead text editor, indicates the restrictions while the specification is written. The controlled lexicon contains domain-specific content words that can be defined by the author on the fly and predefined function words. Specifications written in PENG can be deterministically translated into discourse representations structures to cope with anaphora and presuppositions and also into first-order predicate logic. To test the formal properties of PENG, we reformulated Schubert’s steamroller puzzle in PENG, translated the resulting specification via discourse representation structures into first-order predicate logic with equality, and proved the steamroller’s conclusion with OTTER, a standard theorem prover.
منابع مشابه
Interrelationships between Language and Literature from Old English to the Modern Period
Literature is the aesthetic manifestation of language. It is ‘as old as human language and as new as tomorrow’s sunrise.’ This paper explores the interrelationships between language and literature from 600 AD to the present day. The grammar of present-day English is closely related to that of Old English with the same tense formation and word orders. The verse unit is a single line and its org...
متن کاملWeb Service Choreography Verification Using Z Formal Specification
Web Service Choreography Description Language (WS-CDL) describes and orchestrates the services interactions among multiple participants. WS-CDL verification is essential since the interactions would lead to mismatches. Existing works verify the messages ordering, the flow of messages, and the expected results from collaborations. In this paper, we present a Z specification of WS-CDL. Besides ve...
متن کاملModel-Based Generation of Natural Language Specifications
Application of formal models provides many benefits for the software and system development, however, the learning curve of formal languages could be a critical factor for an industrial project. Thus, a natural language specification that reflects all the aspects of the formal model might help to understand the model and be especially useful for the stakeholders who do not know the correspondin...
متن کاملGIST English Generator
This paper describes a prototype English generator which can produce English descriptions of program specifications written in Gist, a program specification language being developed at ISI. Such a facility is required because although Gist is a high level specification language, specifications written in it, like those in all other formal specification languages, are unreadable. There are sever...
متن کاملReassembling Formal Features in Articles by L1 Persian Learners of L2 English
There has been considerable debate over what the sources of morphological variation in second language acquisition are. From among various hypotheses put forth on the topic, the feature reassembly hypothesis (Lardiere, 2005) assumes that it is the reconfiguration of features in the L2 which causes variation between the performance of natives and non-natives. Acknowle...
متن کاملAn Authoring Tool for Informal and Formal Requirements Specifications
We describe foundations and design principles of a tool that supports authoring of informal and formal software requirements specifications simultaneously and from a single source. The tool is an attempt to bridge the gap between completely informal requirements specifications (as found in practice) and formal ones (as needed in formal methods). The user is supported by an interactive syntax-di...
متن کامل